package com.flyme.module.base.client.api;

import com.flyme.common.core.model.ResultBody;
import com.flyme.common.core.model.query.PagerInfo;
import com.flyme.module.base.client.dto.SysChangecertificateDto;
import com.flyme.module.base.client.entity.SysChangecertificate;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/changecertificate/")
public interface SysChangecertificateRemoteService {

    /**
     * 国开学籍列表
     */
    @PostMapping("/changeList")
    ResultBody changeList(@ModelAttribute PagerInfo pagerInfo, @ModelAttribute SysChangecertificateDto changecertificate);

    /**
     * 审核国开学籍
     */
    @PostMapping("/changeSetStatus")
    ResultBody changeSetStatus(SysChangecertificate changecertificate, String validityTimeString);

}
